package com.liwenfeng.diancanspringboot.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrdersSubmitDTO implements Serializable {
    //备注
    private String remark;
    //预计送达时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime completeTime;
    //配送状态  1立即送出  0选择具体时间
    private Integer deliveryStatus;
    //总金额
    private BigDecimal amount;
    private Long turnoverId;
    private List<ShoppingCartDTO> shoppingCartList;
}
